import request from "../axios/request";

function getProcessHistory(recordTaskId) {
    return new Promise((resolve, reject) => {
        request("get", "/recordProcessHistory/getProcessHistory", {recordTaskId})
            .then(r => {
                resolve(r);
            }, e => {
                reject(e);
            });
    });
}

export {getProcessHistory};